package cn.edu.xmu.wnw.dao;
// default package

import java.util.Date;
import java.util.List;
import org.hibernate.LockMode;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.context.ApplicationContext;
import org.springframework.orm.hibernate3.support.HibernateDaoSupport;

import cn.edu.xmu.wnw.pojo.ArticleComment;

/**
 	* A data access object (DAO) providing persistence and search support for ArticleComment entities.
 			* Transaction control of the save(), update() and delete() operations 
		can directly support Spring container-managed transactions or they can be augmented	to handle user-managed Spring transactions. 
		Each of these methods provides additional information for how to configure it for the desired type of transaction control. 	
	 * @see .ArticleComment
  * @author MyEclipse Persistence Tools 
 */

public interface ArticleCommentDAO  {
	   



	public void initDao();
    public void save(ArticleComment transientInstance);
    
	public void delete(ArticleComment persistentInstance);
    
    public ArticleComment findById( java.lang.Integer id);
    
    public List findByExample(ArticleComment instance);
    
    public List findByProperty(String propertyName, Object value);
	public List findByContent(Object content
	) ;
	
	public List findByCreateUserName(Object createUserName
	);

	public List findAll();
	
    public ArticleComment merge(ArticleComment detachedInstance);

    public void attachDirty(ArticleComment instance) ;
    
    public void attachClean(ArticleComment instance);

	public ArticleCommentDAO getFromApplicationContext(ApplicationContext ctx);
}